<?php require '../../sesionabierta.php'; ?>
<?php include '../../../conexionbd/conexion.php';?>
<!DOCTYPE html>
<html lang="en">
<?php require '../../cabecera.php';?>
  <body>
    <?php include("../../modulos.php");?>
    <div class="container-fluid">
      <div class="row-fluid">
          <?php include ('../listamodulo.php'); ?>
        <div class="span10">
          <div class="hero-unit">
              <h4>Seleccion de Reportes de Productos</h4>
              <form name="form" method="POST" action="reportes.php">
              <table border="0" >
                  <tbody>
                      <tr>
                    <td><select name="categoria">
                            <option>Seleccione una categor&iacute;a</option>
                        <?php 
                          $sql ="SELECT * FROM categoria_producto";
                          $query = mysql_query($sql, $enlace);
                          while ($row = mysql_fetch_array($query)) {
                              echo "<option value=\"$row[0]\">$row[1]</option>";
                          }
                          ?>
                      </select></td>
                      </tr>
                      <tr>
                          <td><input type="submit" class="btn btn-primary"/></td>
                      </tr>
                  </tbody>

              </table>
              </form>

              
          </div>
        </div><!--/span-->
      </div><!--/row-->

      <hr>

      <footer>
        <center><p>&copy; Conexi&oacute;n 2013</p></center>
      </footer>

    </div><!--/.fluid-container-->

    <script src="../../../js/jquery.js"></script>

    <script src="../../../js/bootstrap-dropdown.js"></script>


  </body>
</html>
